package com.leslie.app.dto;

import java.util.stream.Stream;

public class StreamInfo {
    private final Stream<String> names;
    private final String message;

    public StreamInfo(Stream<String> names, String message) {
        this.names = names;
        this.message = message;
    }

    public Stream<String> getNames() {
        return names;
    }

    public String getMessage() {
        return message;
    }
}
